﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Portal.Logic.Providers
{
	/// <summary>
	/// Class <see cref="ConfigurationProvider"/> define configuration provider
	/// </summary>
	public class ConfigurationProvider : IConfigurationProvider
	{
		/// <summary>
		/// Get domain name
		/// </summary>
		/// <returns></returns>
		public string GetDomain()
		{
			return ConfigurationManager.AppSettings["Domain"];
		}
	}
}
